From: Dirk Brenken Date: Wed, 14 Apr 2021 12:12:06 +0000 (+0200) Subject: luci-mod-system: remove bogus btn class in flash.js X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=ca66b630c09e49002c1b9fa86562e54737eea3e2;p=project%2Fluci.git luci-mod-system: remove bogus btn class in flash.js * fixes #4970 Signed-off-by: Dirk Brenken [omit translation sync] Signed-off-by: Jo-Philipp Wich (backported from commit 8c6a29a45cba64724bd726e52719eabbfa8528a6) --- diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js index 6ab18a3d32..1207fc63b5 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js @@ -251,11 +251,9 @@ return view.extend({ if ((!is_valid || is_too_big) && is_forceable) - body.push(E('p', {}, E('label', { 'class': 'btn alert-message danger' }, [ - force, ' ', _('Force upgrade'), - E('br'), E('br'), - _('Select \'Force upgrade\' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!') - ]))); + body.push(E('p', { 'class': 'alert-message danger' }, [ + force, ' ', _('Force upgrade: Select \'Force upgrade\' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!') + ])); var cntbtn = E('button', { 'class': 'btn cbi-button-action important',